/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

var isIE;

var $ = function(id) {
    return document.getElementById(id);
}

function initRequest() {
    if (window.XMLHttpRequest) {
        if (navigator.userAgent.indexOf('MSIE') != -1) {
            isIE = true;
        }
        return new XMLHttpRequest();
    } else if (window.ActiveXObject) {
        isIE = true;
        return new ActiveXObject("Microsoft.XMLHTTP");
    }
}
